INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (1, 'часть-речи');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (2, 'подкласс-части-речи');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (3, 'падеж');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (4, 'число');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (5, 'род');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (6, 'залог');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (7, 'время');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (8, 'наклонение');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (9, 'вид');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (10, 'лицо');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (11, 'возвратность');
INSERT INTO "morphological_trait_types" ("id_trait_type", "trait_type") OVERRIDING SYSTEM VALUE VALUES (12, 'форма');

INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (50, 1, 'глагол');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (51, 1, 'сущ');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (52, 1, 'прилаг');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (53, 1, 'предлог');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (54, 1, 'местоим');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (55, 1, 'прич');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (56, 1, 'наречие');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (57, 1, 'колич-числит');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (58, 1, 'порядк-числит');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (59, 1, 'союз');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (60, 1, 'деепр');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (61, 2, 'сущ-нарицат');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (62, 2, 'сущ-собств');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (63, 2, 'личн-местоим');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (64, 2, 'вопр-относ-местоим');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (65, 2, 'местоим-наречие');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (66, 2, 'глаг-в-изъявит-накл');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (67, 2, 'глаг-в-повелит-накл');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (68, 2, 'глаг-в-неопред-форме');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (69, 2, 'действит-причастие');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (70, 2, 'страдат-причастие');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (77, 3, 'не-склоняется');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (78, 4, 'ед-числ');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (79, 4, 'множ-числ');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (80, 5, 'жен-род');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (81, 5, 'муж-род');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (82, 5, 'сред-род');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (84, 6, 'страд');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (85, 7, 'прошед-время');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (86, 7, 'наст-время');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (87, 7, 'буд-время');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (88, 8, 'изъявит');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (89, 8, 'повелит');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (90, 8, 'сослаг');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (91, 9, 'несоверш-вид');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (92, 9, 'соверш-вид');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (93, 10, '1-ое-лицо');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (94, 10, '2-ое-лицо');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (95, 10, '3-е-лицо');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (96, 11, 'вз');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (97, 11, 'невозвр');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (98, 1, 'част');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (99, 2, 'местоим-прилагательное');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (100, 2, 'местоим-существительное');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (101, 1, 'искусств-имя');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (71, 3, 'им');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (72, 3, 'рд');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (73, 3, 'дт');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (74, 3, 'вн');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (75, 3, 'тв');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (76, 3, 'пр');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (102, 2, 'глагол-личн');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (103, 2, '#nil#');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (104, 6, '#nil#');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (105, 11, '#nil#');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (83, 6, 'дейст');
INSERT INTO "morphological_traits" ("id_trait", "id_trait_type", "trait") OVERRIDING SYSTEM VALUE VALUES (110, 6, 'неопр');

INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (1, 'канал');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (2, 'ведущий');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (3, 'от');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (4, 'средний');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (5, 'ухо');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (6, 'к');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (7, 'глотка');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (8, 'быть');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (9, 'евстахиев');
INSERT INTO "lexemes" ("id_lexeme", "lexeme") OVERRIDING SYSTEM VALUE VALUES (10, 'труба');

INSERT INTO "domains" ("id_domain", "domain") OVERRIDING SYSTEM VALUE VALUES (1, 'общий');

INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (1, 51, NULL, 1, 'Канал');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (2, 55, NULL, 1, 'Ведущий');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (3, 53, NULL, 1, 'от');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (4, 52, NULL, 1, 'средний');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (5, 51, NULL, 1, 'ухо');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (6, 53, NULL, 1, 'к');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (7, 51, NULL, 1, 'глотка');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (8, 50, NULL, 1, 'быть');
INSERT INTO "terms" ("id_term", "id_trait_part_of_speech", "id_trait_subclass", "id_domain", "comment") OVERRIDING SYSTEM VALUE VALUES (9, 51, NULL, 1, 'евстахиева труба');

INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (1, 1, 1, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (2, 2, 2, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (3, 3, 3, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (4, 4, 4, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (5, 5, 5, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (6, 6, 6, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (7, 7, 7, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (8, 8, 8, true, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (9, 9, 9, false, 0);
INSERT INTO "term_components" ("id_component", "id_term", "id_lexeme", "is_main_lexeme", "position_lexeme") OVERRIDING SYSTEM VALUE VALUES (10, 9, 10, true, 1);

INSERT INTO "meaning_types" ("id_type", "type") OVERRIDING SYSTEM VALUE VALUES (1, 'Основное значение лексемы');
-- INSERT INTO "meaning_types" ("id_type", "type") OVERRIDING SYSTEM VALUE VALUES (2, 'Дополнительное значение лексемы');
INSERT INTO "meaning_types" ("id_type", "type") OVERRIDING SYSTEM VALUE VALUES (3, 'Значение предложного фрейма');
INSERT INTO "meaning_types" ("id_type", "type") OVERRIDING SYSTEM VALUE VALUES (4, 'Значение глагольно-предложного фрейма');
INSERT INTO "meaning_types" ("id_type", "type") OVERRIDING SYSTEM VALUE VALUES (5, 'Значение вопросно-ролевого фрейма');

INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (1, 1, 'канал');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (2, 1, 'Направление1');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (3, 1, 'Расположение(z, посередине)');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (4, 1, 'орган*(Название, Ухо)(Чувство, Слух)');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (5, 1, 'орган*(Название, Глотка)');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (6, 3, 'Конец');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (7, 4, 'Объект1');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (8, 1, 'Существование1');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (9, 4, 'Определение1');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (10, 4, 'Начало');
INSERT INTO "meanings" ("id_meaning", "id_type", "meaning") OVERRIDING SYSTEM VALUE VALUES (11, 1, 'орган');

INSERT INTO "sorts" ("id_sort", "id_hyperonim", "sort") OVERRIDING SYSTEM VALUE VALUES (1, NULL, 'пространственный объект');
INSERT INTO "sorts" ("id_sort", "id_hyperonim", "sort") OVERRIDING SYSTEM VALUE VALUES (2, 1, 'физ.объект');
INSERT INTO "sorts" ("id_sort", "id_hyperonim", "sort") OVERRIDING SYSTEM VALUE VALUES (3, 2, 'дин.физ.объект');
INSERT INTO "sorts" ("id_sort", "id_hyperonim", "sort") OVERRIDING SYSTEM VALUE VALUES (4, NULL, 'орган');

INSERT INTO "meanings_sorts" ("id_meaning", "id_sort") OVERRIDING SYSTEM VALUE VALUES (1, 2);
INSERT INTO "meanings_sorts" ("id_meaning", "id_sort") OVERRIDING SYSTEM VALUE VALUES (1, 4);
INSERT INTO "meanings_sorts" ("id_meaning", "id_sort") OVERRIDING SYSTEM VALUE VALUES (4, 4);
INSERT INTO "meanings_sorts" ("id_meaning", "id_sort") OVERRIDING SYSTEM VALUE VALUES (5, 4);
INSERT INTO "meanings_sorts" ("id_meaning", "id_sort") OVERRIDING SYSTEM VALUE VALUES (4, 2);
INSERT INTO "meanings_sorts" ("id_meaning", "id_sort") OVERRIDING SYSTEM VALUE VALUES (5, 2);

INSERT INTO "term_meanings" ("id_term_meaning", "id_term", "id_meaning", "comment") OVERRIDING SYSTEM VALUE VALUES (1, 1, 1, 'канал');
INSERT INTO "term_meanings" ("id_term_meaning", "id_term", "id_meaning", "comment") OVERRIDING SYSTEM VALUE VALUES (2, 2, 2, 'ведущий');
INSERT INTO "term_meanings" ("id_term_meaning", "id_term", "id_meaning", "comment") OVERRIDING SYSTEM VALUE VALUES (3, 4, 3, 'средний');
INSERT INTO "term_meanings" ("id_term_meaning", "id_term", "id_meaning", "comment") OVERRIDING SYSTEM VALUE VALUES (4, 5, 4, 'ухо');
INSERT INTO "term_meanings" ("id_term_meaning", "id_term", "id_meaning", "comment") OVERRIDING SYSTEM VALUE VALUES (5, 7, 5, 'глотка');
INSERT INTO "term_meanings" ("id_term_meaning", "id_term", "id_meaning", "comment") OVERRIDING SYSTEM VALUE VALUES (6, 8, 9, 'быть');
INSERT INTO "term_meanings" ("id_term_meaning", "id_term", "id_meaning", "comment") OVERRIDING SYSTEM VALUE VALUES (7, 9, 11, 'евстахиева труба');

-- INSERT INTO "preposition_frames" ("id_frame", "id_preposition_term", "id_noun_sort_1", "id_noun_sort_2", "id_noun_case_trait_2", "id_meaning_frame", "comment") OVERRIDING SYSTEM VALUE VALUES (1, 6, 1, 1, 73, 6, 'к, простран об, простран об, дательный, Направление');

INSERT INTO "verb_preposition_frames" ("id_frame", "id_situation_meaning", "id_verb_form_trait", "id_verb_reflect_trait", "verb_voice_trait", "id_preposition_term", "id_noun_case_trait", "id_sort", "id_meaning_frame", "comment") OVERRIDING SYSTEM VALUE VALUES (1, 2, 110, 97, null, 3, 72, 1, 10, 'Направление1, личн, нвз, #nil#, к, рд, простр об');
INSERT INTO "verb_preposition_frames" ("id_frame", "id_situation_meaning", "id_verb_form_trait", "id_verb_reflect_trait", "verb_voice_trait", "id_preposition_term", "id_noun_case_trait", "id_sort", "id_meaning_frame", "comment") OVERRIDING SYSTEM VALUE VALUES (2, 2, 110, 97, null, 6, 73, 1, 6, 'Направление1, личн, нвз, #nil#, от, дт, простр об');
INSERT INTO "verb_preposition_frames" ("id_frame", "id_situation_meaning", "id_verb_form_trait", "id_verb_reflect_trait", "verb_voice_trait", "id_preposition_term", "id_noun_case_trait", "id_sort", "id_meaning_frame", "comment") OVERRIDING SYSTEM VALUE VALUES (3, 2, 110, 97, null, null, 71, 1, 7, 'канал');
INSERT INTO "verb_preposition_frames" ("id_frame", "id_situation_meaning", "id_verb_form_trait", "id_verb_reflect_trait", "verb_voice_trait", "id_preposition_term", "id_noun_case_trait", "id_sort", "id_meaning_frame", "comment") OVERRIDING SYSTEM VALUE VALUES (4, 8, 110, 97, null, null, 71, 1, 9, 'быть');
